package com.example.park_management.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.example.park_management.entity.User;
import com.example.park_management.mapper.UserMapper;
import com.example.park_management.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author lenovo
* @description 针对表【user】的数据库操作Service实现
* @createDate 2023-11-21 15:28:41
*/
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>
implements UserService {
        @Autowired
        private UserMapper userMapper;

    public User login(User user) {
        return userMapper.login(user);
    }
}
